<template>
  <view class="pos-fixed bottom-0 w-100vw bg-#fff flex flex-justify-end p-3 box-border z-10">
    <wd-button @click="emit('click')">{{ text }}</wd-button>
  </view>
</template>

<script lang="ts" setup>
import { ref, defineProps, defineEmits } from 'vue'
defineProps<{
  text: string
}>()
const emit = defineEmits(['click'])
</script>

<style lang="scss" scoped></style>
